package cn.gok.oa.information.entity;

    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableId;
    import java.time.LocalDateTime;
    import com.baomidou.mybatisplus.annotation.TableField;
    import java.io.Serializable;

    import com.baomidou.mybatisplus.annotation.TableLogic;
    import lombok.Data;
    import lombok.EqualsAndHashCode;
    import lombok.experimental.Accessors;

/**
* <p>
    * 
    * </p>
*
* @author gok
* @since 2022-08-04
*/
    @Data
        @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    public class TbComment implements Serializable {

    private static final long serialVersionUID = 1L;

            /**
            * 评论id
            */
            @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

            /**
            * 评论人id
            */
    private Integer commentatorId;

            /**
            * 评论内容
            */
    private String content;

            /**
            * 资讯id
            */
    private Integer informationId;

            /**
            * 父评论id
            */
    private Integer parentCommentId;

            /**
            * 评论时间
            */
        @TableField("TIME")
    private LocalDateTime time;

            /**
            * 状态
            */
        @TableLogic
        @TableField("STATUS")
    private Integer status;

            /**
            * 备注
            */
    private String remark;


}
